package sort

type Equatable[T any] interface {
	Equals(other T) bool
}

type Comparable[T any] interface {
	// CompareTo 小于：<0   等于：=0   大于：>0
	CompareTo(other T) int
}
